package com.gorkr.cronback.pattern.designPattern.adapter;

import java.util.GregorianCalendar;

/**
 * @author gorkr
 * @title: CalendarTime
 * @projectName cron
 * @description: TODO
 * @date 2021/12/811:50
 */
public class CalendarTime {
    private final GregorianCalendar calendarStart;
    private final GregorianCalendar calendarEnd;

    public CalendarTime(GregorianCalendar calendarStart, GregorianCalendar calendarEnd) {
        this.calendarStart = calendarStart;
        this.calendarEnd = calendarEnd;
    }

    public GregorianCalendar getCalendarStart() {
        return calendarStart;
    }

    public GregorianCalendar getCalendarEnd() {
        return calendarEnd;
    }
}
